package main;




public class ProgressEvent{
	public static int TYPE_START = 1 ;
	public static int TYPE_FINISH = 2;
	public static int TYPE_PROGRESS = 3;
	public static int TYPE_MESSAGE = 4;
	public static int TYPE_SHUTDOWN = 5;

	public int type;
	public int param;
	public String name;
	public String message;

	public ProgressEvent(int type, int param, String name, String msg){
		this.type = type;
		this.param = param;
		this.name = name;
		message = msg;
	}

	public String toString(){
		return "PEvent: " + name + " - " + param + " " + message;
	}


}